package com.test.ssh.dao;

import java.io.Serializable;
import java.util.List;

public interface GenericDao<T ,PK extends Serializable> {
	
	public abstract T save(T entity) ;
	List findByHql(String hql,Object...params) ;
	void delete(T entity) ;
	void remove(PK id) ;
	T get(PK id) ;
	public Object findUniqueBy(Class persistentClass,String propertyName, Object value);

}
